<div style="font-size: 13px;margin: 10px 5px">
    <form action="__SELF__" method="post" enctype="multipart/form-data">
        <table border="1" width="100%" class="table_a">
            <tr>
                <td>分类名称</td>
                <td><input type="text" name="cat_name" /></td>
            </tr>
            <tr>
                <td>分类上级</td>
                <td>
                    <select name="cat_pid">
                        <option value='0'>-请选择-</option>
                        <foreach name='pinfo' item='v'>
                            <option value='{$v.cat_id}'>
                            {:str_repeat('***/',$v['cat_level'])}{$v.cat_name}</option>
                        </foreach>
                    </select>
                </td>
            </tr>
            <tr><td colspan='100'><input type='submit' value="添加"></td></tr>
        </table>
    </form>
</div>
